package org.nViron.nvOrganic;

/**
 * Base class for any connection between two kinetics
 * @author Roland Haring <p>
 * <script type="text/javascript" src="http://www.ohloh.net/p/376434/widgets/project_basic_stats.js"></script>
 */
abstract public class nvJoint extends nvTissue {
    private nvKinetic destination;
    private nvKinetic source;

    public nvJoint(nvOrganic organic, nvKinetic parent) {
        super(organic, parent);
        this.source = parent;
    }

    public nvKinetic getDestination() {
        return destination;
    }

    public nvKinetic getSource() {
        return source;
    }

    protected void setDestination(nvKinetic destination) {
        this.destination = destination;
    }
}



